package com.huilian.iotbox.data.po;

import com.huilian.iotbox.data.dto.QueryParam;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author lizhiquan
 * @CreateDate: 2021-04-13 19:12
 * @Description:
 */
@Data
public class StatsAgency extends QueryParam {

    private Long id;
    private Integer type;
    private Integer agencyId;
    private String dateStr;
    private BigDecimal turnover;
    /**
     * 线上营业额
     */
    private BigDecimal turnoverOnLine;
    /**
     * 线下营业额
     */
    private BigDecimal turnoverOffline;
    /**
     * 营业额-抖音核销金额
     */
    private BigDecimal turnoverDouYin;
    /**
     * 营业额-美团核销金额
     */
    private BigDecimal turnoverMeiTuan;
    /**
     * 笔数
     */
    private Integer orderCount;
    /**
     * 线上订单笔数
     */
    private Integer orderCountOnLine;
    /**
     * 线下订单笔数
     */
    private Integer orderCountOffline;
    private Integer coinTotal;
    private BigDecimal totalCommission;
    private Integer settlementStatus;
    private Integer storeActiveNum;
    private Integer storeNewNum;

    /**
     * 场地无交易个数
     */
    private Integer storeNoTrade;

    /**
     * 消费会员个数
     */
    private Integer memberConsumeNum;

    /**
     * 会员新增个数
     */
    private Integer memberNewNum;

    /**
     * 运营商新增个数
     */
    private Integer userNewNum;

    /**
     * 运营商无交易个数
     */
    private Integer userNoTrade;

    /**
     * 设备新增个数
     */
    private Integer deviceNewNum;

    /**
     * 设备无交易个数
     */
    private Integer deviceNoTrade;

    /**
     * 机构无交易个数
     */
    private Integer agencyNoTrade;

    /**秒杀活动收款金额*/
    private BigDecimal seckillMoney;
    /**拼团活动收款金额*/
    private BigDecimal groupBookingMoney;
    /**消费红包活动收款金额*/
    private BigDecimal consumptionOfRedEnvelopesMoney;
    /**会员储值活动收款金额*/
    private BigDecimal memberOfTheStoredValueMoney;


    private Integer userId;

    /**最高客单价*/
    private BigDecimal maximumUnitPrice;
    /**最低客单价*/
    private BigDecimal miniimumUnitPrice;

    /**留存手机号会员数量*/
    private Integer leaveMemberPhoneNumber;

    /**消费新顾客个数*/
    private Integer memberConsumeNewNum;

    /**消费老顾客个数*/
    private Integer memberConsumeOldNum;

    /**活动核销金额：秒杀活动核销金额+拼团活动核销金额*/
    private BigDecimal activityCancelledMoney;
    /**活动核销金额：秒杀活动未核销金额+拼团活动未核销金额*/
    private BigDecimal activityUnwrittenMoney;
}
